<?php /* Smarty version 2.6.22, created on 2011-10-11 05:27:40
         compiled from model/list_column.html */ ?>
<div id="man_zone">
  <table width="99%" border="0" align="center"  cellpadding="3" cellspacing="1" class="table_style">
    <tr>
      <th width="6%" >排序</th>
      <th width="25%">栏目名称</th>
      <th width="10%">所属模型</th>
      <th width="10%">是否导航</th>
      <th width="10%">浏览</th>
      <th width="25%">管理操作</th>
    </tr>
    <?php $_from = $this->_tpl_vars['ret']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['item']):
?>
    <tr align="center">
      <td><input class="input10" type="text" name="orders" id="orders" value="<?php echo $this->_tpl_vars['item']['orders']; ?>
" /></td>
      <td><?php echo $this->_tpl_vars['item']['catname']; ?>
</td>
      <td><?php echo $this->_tpl_vars['type'][$this->_tpl_vars['item']['modelid']]; ?>
</td>
      <td><?php if ($this->_tpl_vars['item']['ismenu'] == 1): ?>是<?php else: ?>否<?php endif; ?></td>
      <td>浏览</td>
      <td><a href="<?php echo $this->_tpl_vars['baseurl']; ?>
/model/showAddColumn/<?php echo $this->_tpl_vars['item']['id']; ?>
">添加子栏目</a> | <a href="<?php echo $this->_tpl_vars['baseurl']; ?>
/model/showEditColumn/<?php echo $this->_tpl_vars['item']['id']; ?>
">修改</a> | <a href="<?php echo $this->_tpl_vars['baseurl']; ?>
/model/delcolumn/<?php echo $this->_tpl_vars['item']['id']; ?>
">删除</a></td>
    </tr>
    <?php if ($this->_tpl_vars['item']['arrchildid'] > 0): ?>
      	<?php $_from = $this->_tpl_vars['item']['child']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['value']):
?>
      	    <tr align="center">
      		<td><input class="input10" type="text" name="orders" id="orders" value="<?php echo $this->_tpl_vars['item']['orders']; ?>
" /></td>
      		<td>&nbsp;&nbsp;&nbsp;&nbsp;|-<?php echo $this->_tpl_vars['value']['catname']; ?>
</td>
      		<td><?php echo $this->_tpl_vars['type'][$this->_tpl_vars['value']['modelid']]; ?>
</td>
      		<td><?php if ($this->_tpl_vars['value']['ismenu'] == 1): ?>是<?php else: ?>否<?php endif; ?></td>
      		<td>浏览</td>
      		<td><a href="<?php echo $this->_tpl_vars['baseurl']; ?>
/model/showAddColumn/<?php echo $this->_tpl_vars['value']['id']; ?>
">添加子栏目</a> | <a href="<?php echo $this->_tpl_vars['baseurl']; ?>
/model/showEditColumn/<?php echo $this->_tpl_vars['value']['id']; ?>
">修改</a> | <a href="<?php echo $this->_tpl_vars['baseurl']; ?>
/model/delcolumn/<?php echo $this->_tpl_vars['value']['id']; ?>
">删除</a></td>
    		</tr>
      	<?php endforeach; endif; unset($_from); ?>
      	<?php endif; ?>
    <?php endforeach; endif; unset($_from); ?>
  </table>
</div>